Make tests a little more robust
authorAlex Crichton <alex@alexcrichton.com>
Mon, 1 Feb 2016 18:02:04 +0000 (10:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 1 Feb 2016 18:02:04 +0000 (10:02 -0800)
commitc3e1c194909fb7baf4334ddba5a44c7a6da62bc3
tree2ce010c57b367774f6abacacff016c6f772272c5
parent6c05bcb4c5b20bbc0036aba4b41f0e991378986a
Make tests a little more robust

* Remove the XDG_CONFIG_HOME environment variable as we're resetting HOME
* Add GIT_CONFIG_NOSYSTEM to encourage git to not read that configuration

Closes #2345
tests/test_cargo_new.rs
tests/tests.rs